home *** CD-ROM | disk | FTP | other *** search
- global flash, show
-
- on exitFrame
- if flash = (show + 6) then
- if string(getAt(sfx, show)) <> EMPTY then
- puppetSound(string(getAt(sfx, show)))
- else
- startTimer()
- repeat while the timer < 60
- nothing()
- end repeat
- end if
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- set flash to show
- set show to show + 1
- else
- if show = 8 then
- startFresh()
- go("start")
- else
- set flash to flash + 1
- if the frameLabel = "last" then
- go("start")
- else
- go(the frame + 1)
- end if
- end if
- end if
- if ((flash = 7) and (show = 8)) or the optionDown then
- puppetSound(0)
- startTimer()
- repeat while the timer < 90
- nothing()
- end repeat
- end if
- end
-